﻿using Micropayment.Model;
using ParaEditor.SysMgr.Service.Entity;

namespace ParaEditor.SysMgr.Service.OperatorMgrService
{
    public interface IOperatorMgrService
    {
        /// <summary>
        /// 获取操作员角色
        /// </summary>
        /// <returns></returns>
        OperatorInfos GetOperatorInfo();

        /// <summary>
        /// 获取权限
        /// </summary>
        /// <returns></returns>
        Rules GetRules();

        /// <summary>
        /// 创建操作员
        /// </summary>
        /// <param name="_operator"></param>
        /// <returns></returns>
        bool CreateOperator(OPERATOR _operator);

        /// <summary>
        /// 查找id是否已经存在
        /// </summary>
        /// <param name="id"></param>
        /// <returns></returns>
        bool IsExistAboutOperatorID(string id);
    }
}
